package hello.pojos;

import java.io.Serializable;

/**
 * Author hiberk
 * Date 2017/7/6 11:47
 */
//@Entity
//@Table(name = "t_user")
public class Users implements Serializable {

    private static final long serialVersionUID = 9194182028774972209L;
//    @Id
    private Integer id;
    private String userName;
    private Integer age;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Users{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", age=" + age +
                '}';
    }
}
